<?php


/**
 
 * Default home page view
 
 *  

 * @author
 * @version
 
 */
 


$this->placeholder('title')->set('');
//$this->placeholder('content_title')->set('Home');

?>

<?php $this->headStyle()->captureStart() ?>
body {
    background-color: <?= $this->bgColor ?>;
}
<?php $this->headStyle()->captureEnd() ?>


<div id="index_index">

    <br class="clear" />

        <?php
        $cache = Kbs::initCache('Homepage');

        //if($cache and !$cache->start($cache->id)) {

            if (isset($this->posts) and is_array($this->posts) and !empty($this->posts)) {

                echo $this->partialLoop('index/postsLoop.phtml', $this->posts);
            }

            //$cache->end();
        //}
        ?>

</div>